import request from '@/utils/request'
const api_login_name = '/startup/users'
export default {
    //登录
    submitLoginUser(loginVo) {
        return request({
            url: `${api_login_name}/login`,
            method: 'post',
            data: loginVo
        })
    },
    //获取用户信息
    getLoginUserInfo() {
        return request({
            url: `${api_login_name}/user/userInfo`,
            method: 'get'
        })
    },
    getImageCode() {
        return request({
            url: "/kaptcha?m=" + Math.random(),
            method: 'get'
        })
    }
}